<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>内联菜单 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Inline Menu">内联菜单</h2>
	<p title="The inline menu stays inside its parent container.">　　内联菜单滞留于其父容器的内部。对于有子项的菜单项，PC鼠标悬停；移动设备长按2秒（最好避开文字）即可。</p>
	<div style="margin:20px 0;"></div>
	
	<div class="easyui-panel" title="&nbsp;菜单" style="width:150px;">
		<div class="easyui-menu" data-options="inline:true" style="width:100%">
			<div onclick="javascript:alert('new')">新建</div>
			<div>
				<span>打开</span>
				<div style="width:150px;">
					<div><b>Word</b></div>
					<div>Excel</div>
					<div>PowerPoint</div>
					<div>
						<span>菜单1</span>
						<div style="width:120px;">
							<div>子项1</div>
							<div>子项2</div>
							<div>
								<span>子项…</span>
								<div style="width:80px;">
									<div onclick="javascript:alert('sub21')">子项21</div>
									<div>子项22</div>
									<div>子项23</div>
								</div>
							</div>
							<div>子项3</div>
						</div>
					</div>
					<div>
						<span title="Window Demos">窗口演示</span>
						<div style="width:120px;">
							<div data-options="href:'../window/basic.html'" title="Window">窗口</div>
							<div data-options="href:'../dialog/basic.html'" title="Dialog">对话框</div>
							<div><a href="http://www.jeasyui.com" target="_blank">EasyUI 官网</a></div>
						</div>
					</div>
				</div>
			</div>
			<div data-options="iconCls:'icon-save'">保存</div>
			<div data-options="iconCls:'icon-print',disabled:true">打印</div>
			<div class="menu-sep"></div>
			<div>退出</div>
		</div>
	</div>
</body>
</html>